package com.lvyq.repository;

import com.lvyq.model.shop.ShopGoods;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;


public interface ShopGoodsRepository extends MongoRepository<ShopGoods,String> {
    ShopGoods findByGoodsName(String goodsName);

    List<ShopGoods> findAllByShopType(Integer type);

}
